home *** CD-ROM | disk | FTP | other *** search
/ Chip 2007 January, February, March & April / Chip-Cover-CD-2007-02.iso / Pakiet bezpieczenstwa / mini Pentoo LiveCD 2006.1 / mpentoo-2006.1.iso / livecd.squashfs / usr / include / gtk-2.0 / gdk / gdkspawn.h < prev    next >
Encoding:
C/C++ Source or Header  |  2006-04-25  |  2.1 KB  |  60 lines

  1. /*
  2.  * Copyright (C) 2003 Sun Microsystems Inc.
  3.  *
  4.  * This library is free software; you can redistribute it and/or
  5.  * modify it under the terms of the GNU Library General Public
  6.  * License as published by the Free Software Foundation; either
  7.  * version 2 of the License, or (at your option) any later version.
  8.  *
  9.  * This library is distributed in the hope that it will be useful,
  10.  * but WITHOUT ANY WARRANTY; without even the implied warranty of
  11.  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
  12.  * Library General Public License for more details.
  13.  *
  14.  * You should have received a copy of the GNU Library General Public
  15.  * License along with this library; if not, write to the
  16.  * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
  17.  * Boston, MA 02111-1307, USA.
  18.  *
  19.  * Authors: Mark McLoughlin <mark@skynet.ie>
  20.  */
  21.  
  22. #ifndef __GDK_SPAWN_H__
  23. #define __GDK_SPAWN_H__
  24.  
  25. #include <gdk/gdkscreen.h>
  26. #include <glib/gspawn.h>
  27.  
  28. G_BEGIN_DECLS
  29.  
  30. gboolean gdk_spawn_on_screen              (GdkScreen             *screen,
  31.                        const gchar           *working_directory,
  32.                        gchar                **argv,
  33.                        gchar                **envp,
  34.                        GSpawnFlags            flags,
  35.                        GSpawnChildSetupFunc   child_setup,
  36.                        gpointer               user_data,
  37.                        gint                  *child_pid,
  38.                        GError               **error);
  39.  
  40. gboolean gdk_spawn_on_screen_with_pipes   (GdkScreen             *screen,
  41.                        const gchar           *working_directory,
  42.                        gchar                **argv,
  43.                        gchar                **envp,
  44.                        GSpawnFlags            flags,
  45.                        GSpawnChildSetupFunc   child_setup,
  46.                        gpointer               user_data,
  47.                        gint                  *child_pid,
  48.                        gint                  *standard_input,
  49.                        gint                  *standard_output,
  50.                        gint                  *standard_error,
  51.                        GError               **error);
  52.  
  53. gboolean gdk_spawn_command_line_on_screen (GdkScreen             *screen,
  54.                        const gchar           *command_line,
  55.                        GError               **error);
  56.  
  57. G_END_DECLS
  58.  
  59. #endif /* __GDK_SPAWN_H__ */
  60.